home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
HDOS14.ARJ
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-05
|
2KB
|
66 lines
@echo off
cls
rem --- make sure the user specified valid drive letter (we allow C to F).
if %1a == a goto noDriveSpecified
if %1 == c: goto begin
if %1 == C: goto begin
if %1 == d: goto begin
if %1 == D: goto begin
if %1 == e: goto begin
if %1 == E: goto begin
if %1 == f: goto begin
if %1 == F: goto begin
if %2 == a: goto floppy
if %2 == A: goto floppy
if %2 == b: goto floppy
if %2 == B: goto floppy
Goto notOnThatDrive
:begin
echo ┌─┐
echo │ │ ATI HandyDOS Software Installation
echo │ │
echo │I│ You may install the HandyDOS software anywhere you wish by simply
echo │N│ creating a directory of your choice and then copying the files to
echo │S│ it - except install.bat.
echo │T│ BUT! if you want:
echo │A│ This will create a directory called %1\DOS on your hard disk,
echo │L│ and will install HandyDOS in that directory from this diskette.
echo │L│ If you don't want to install HandyDOS right now, press Ctrl-Break.
echo │ │
echo └─┘
pause
rem --- create \DOS on the current drive.
echo
echo Creating directory %1\DOS...
md %1\DOS
echo
echo Copying HandyDOS files...
copy *.exe %1\DOS
copy readme.doc %1\DOS
copy register %1\DOS
echo * Target Disk Complete - Remove Disk*
%1
cd %1\DOS
echo HandyDOS is now installed!
goto end
:noDriveSpecified
rem --- user didn't specify a drive letter followed by a colon.
echo
echo How to use INSTALL:
echo To install software on your hard disk, specify the drive to install HandyDOS
echo onto. For example, to install HandyDOS on drive C, type "INSTALL C:" and
echo press Enter.
goto end
:notOnThatDrive
rem --- user specified invalid drive letter.
echo
echo Installation Error: The hard drive letter must be a letter from C to F,
echo and must be followed by a colon. For example, "INSTALL C:" will install
echo HandyDOS on drive C.
:end
echo